<%@page import="org.apache.commons.lang.StringUtils"%>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page language="java" import="java.util.*"%>
<%@ page language="java" import="java.io.*"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	
	//微信授权跳转获得code
	String api_code = request.getParameter("code");
	if(StringUtils.isEmpty(api_code)){
		api_code = "";
	}
	
	//订单号
	String prdOrdNo = request.getParameter("prdOrdNo");
	if(StringUtils.isEmpty(prdOrdNo)){
		prdOrdNo = "";
	}

	request.setAttribute("on_back", "0");
%>
<!DOCTYPE html>
<html lang="zh">
<head>
<base href="<%=basePath%>">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<title>等待支付</title>

<meta name="description" content="Common form elements and layouts" />
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<script type="text/javascript" src="js/jquery-1.7.1.min.js"
	charset="UTF-8"></script>
<script type="text/javascript" src="js/core-1.0.js" charset="UTF-8"></script>
<script type="text/javascript" src="js/core/utils.js" charset="UTF-8"></script>
<script type="text/javascript" src="js/remote/wx_public2.js" charset="UTF-8"></script>
<%
	out.write("<script type=\"text/javascript\">");
	out.write("var api_code='" + api_code + "';");
	out.write("var prdOrdNo='" + prdOrdNo + "';");
	out.write("</script>");
%>
<style type="text/css">
button {
	-moz-border-radius: 10px;      /* Gecko browsers */
    -webkit-border-radius: 10px;   /* Webkit browsers */
    border-radius:10px; 
    font-size: 22px;
    color: white;
    line-height: 50px;
    background: #40b538;
    border: 0;
    width: 85%;
    height: 50px;
}
#amt{
	font-weight: 700;
	font-size: 30px;
	margin-top: 30px;
}
</style>
</head>
<body class="no-skin" style="text-align: center;">
	<div style="margin-top: 50px;">
		<img alt="" src="images/paySuccess.png">
	</div>
	<div style="margin-top: 5px;color: #40b538;font-size: 20px;font-weight: 700;">
		请完成支付
	</div>
</body>
</html>
